package com.bjsxt.controller;

import com.bjsxt.commons.pojo.BaizhanResult;
import com.bjsxt.servic.PortalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author coder_z
 * @date 2023/3/13
 **/
@RestController

public class PortalController {
    @Autowired
    private PortalService portalService;
    @RequestMapping("/portal/showBigAd")
    public BaizhanResult showBigAd(){
        return portalService.showBigAd();
    }
}
